package org.csu.chatserver.entity.pojo;

import lombok.Data;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

@Data
public class RoomMessage {
    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField("roomid")
    private Integer roomId;

    @TableField("senderId")
    private Integer senderId;
    private String content;
    private LocalDateTime time;
}